//
//  HTDriverLocationCell.m
//  TruckUser
//
//  Created by Ting Han on 2017/10/31.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import "HTDriverLocationCell.h"
@implementation HTDriverLocationModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName{
    
    return @{
             @"ID":@"id"
             };
    
}
@end
@interface HTDriverLocationCell ()
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel*addressLabel;

@end
@implementation HTDriverLocationCell
- (void)setLocationModel:(HTDriverLocationModel *)locationModel{
    _locationModel = locationModel;
    self.timeLabel.text = [HTUtils timeIntervalExchange:locationModel.createtime];
    self.addressLabel.text = locationModel.address;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end


